package Lianxi;

import ooday01.Cars;

public class CarDemo {
    public static void main(String[] args) {
        Car cars=new Car();
        cars.brand="奥迪";
        cars.color="黑的";
        cars.price=1000;
        cars.st();
        cars.run();
        cars.stop();

        Car care=new Car("特斯拉","白的",20);
        care.st();
        care.run();
        care.stop();





























//   Car Cars=new Car();
//   Cars.brand="奥迪";
//   Cars.color="白色";
//   Cars.price=1000;
//   Cars.start();
//   Cars.run();
//   Cars.stop();
//
//
//   Car car2 =new Car("白马","黑",10);
//   car2.start();
//   car2.run();
//   car2.stop();




    }
}
